package com.zetyun.tiger.sql.meta.util;

import cn.hutool.core.io.FileUtil;

import java.util.List;

public class GenTbNameApp {

    public static void main(String[] args) {
        String path = "D:\\data\\潍坊银行实时数据管理平台SVN\\3.需求阶段\\需求调研\\数据字典_v20220824";
        List<String> names = FileUtil.listFileNames(path);

        for (String name : names) {
            String[] arr = name.split("-");
            String tbName = arr[0];
            String sysName = "CBUS";
            if (tbName.contains("_")) {
                sysName = "EBUS";
            }
            System.out.println(tbName);
        }
    }
}
